home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 65.zip / BS1 part 65 / DevPac v3.02b.adf / include / devices / audio.i next >
Text File  |  1991-11-20  |  1KB  |  60 lines

  1.     IFND    DEVICES_AUDIO_I
  2. DEVICES_AUDIO_I SET    1
  3. **
  4. **    $Filename: devices/audio.i $
  5. **    $Release: 1.3 $
  6. **
  7. **    
  8. **
  9. **    (C) Copyright 1985,1986,1987,1988 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. **
  12.  
  13.             IFND    EXEC_IO_I
  14.             INCLUDE "exec/io.i"
  15.             ENDC
  16.  
  17. AUDIONAME        MACRO
  18.             DC.B    'audio.device',0
  19.             ENDM
  20.  
  21. ADHARD_CHANNELS        EQU    4
  22.  
  23. ADALLOC_MINPREC        EQU    -128
  24. ADALLOC_MAXPREC        EQU    127
  25.  
  26. ADCMD_FREE        EQU    CMD_NONSTD+0
  27. ADCMD_SETPREC        EQU    CMD_NONSTD+1
  28. ADCMD_FINISH        EQU    CMD_NONSTD+2
  29. ADCMD_PERVOL        EQU    CMD_NONSTD+3
  30. ADCMD_LOCK        EQU    CMD_NONSTD+4
  31. ADCMD_WAITCYCLE        EQU    CMD_NONSTD+5
  32. ADCMDB_NOUNIT        EQU    5
  33. ADCMDF_NOUNIT        EQU    1<<5
  34. ADCMD_ALLOCATE        EQU    ADCMDF_NOUNIT+0
  35.  
  36. ADIOB_PERVOL        EQU    4
  37. ADIOF_PERVOL        EQU    1<<4
  38. ADIOB_SYNCCYCLE        EQU    5
  39. ADIOF_SYNCCYCLE        EQU    1<<5
  40. ADIOB_NOWAIT        EQU    6
  41. ADIOF_NOWAIT        EQU    1<<6
  42. ADIOB_WRITEMESSAGE    EQU    7
  43. ADIOF_WRITEMESSAGE    EQU    1<<7
  44.  
  45. ADIOERR_NOALLOCATION    EQU    -10
  46. ADIOERR_ALLOCFAILED    EQU    -11
  47. ADIOERR_CHANNELSTOLEN    EQU    -12
  48.  
  49.             STRUCTURE    IOAudio,IO_SIZE
  50.             WORD    ioa_AllocKey
  51.             APTR    ioa_Data
  52.             ULONG    ioa_Length
  53.             UWORD    ioa_Period
  54.             UWORD    ioa_Volume
  55.             UWORD    ioa_Cycles
  56.             STRUCT    ioa_WriteMsg,MN_SIZE
  57.             LABEL    ioa_SIZEOF
  58.  
  59.     ENDC    ; DEVICES_AUDIO_I
  60.